package scala.test_traits.animal

/**
 * @author 黄海峰 2021/4/15 18:33
 * */
class Dog(var name2:String) extends Animal {

  override val name: String = {
    println("您好，%s".format(name2))
    name2
  }
}
